package com.zone.domain.acticity.model.entity;

import com.zone.domain.acticity.model.valobj.UserRaffleOrderStateEnum;
import lombok.Data;

import java.util.Date;

/**
 * @author: zongzi
 * @description: 用户抽奖订单表
 * @date: 2025/2/17
 */
@Data
public class UserRaffleOrderEntity {
    /** 用户ID */
    private String userId;
    /** 活动ID */
    private Long activityId;
    /** 活动名称 */
    private String activityName;
    /** 抽奖策略ID */
    private Long strategyId;
    /** 订单ID */
    private String orderId;
    /** 下单时间 */
    private Date orderTime;
    /** 订单状态；create-创建、used-已使用、cancel-已作废 */
    private UserRaffleOrderStateEnum orderState;
    /** 创建时间 */
    private Date createTime;
}